// ! 登录
import express from "express";
import { validate } from "@/controllers/login/helpers/";
import { validateResult, validateToken } from "@/middlewares";
import { login } from "@/controllers/login";

const router = express.Router();
router.post("/", validate.login, validateResult, login); // 登录

export default router;
